<div id="description">This tests for a crash when inserting a text node at the start of a block where it will be become unrendered. The test should not crash.</div>
<div id="edit" contenteditable="true"><span style="white-space:pre;">	</span>xxx</div>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
edit = document.getElementById("edit");
window.getSelection().collapse(edit, 0);
document.execCommand("InsertHTML", false, "	");
if (window.testRunner)
    document.body.innerText = document.getElementById("description").innerText;
</script>
